package com.itheima.demo4;

/**
 * @author zzw
 * @date 2025/4/25
 * @description 接口隔离-安全门
 */
public class HeimaSafetyDoor implements AntiTheft, Fireproof, Waterproof {
    @Override
    public void antiTheft() {
        System.out.println("防盗");
    }

    @Override
    public void fireproof() {
        System.out.println("防火");
    }

    @Override
    public void waterproof() {
        System.out.println("防水");
    }
}
